Lung function before and after surgery